package com.cybertron.ironhide.manage.persistence;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cybertron.ironhide.manage.domain.SeedTaskSite;

public interface SeedTaskSiteMapper {
	int deleteByPrimaryKey(String id);

	int insert(SeedTaskSite record);

	int insertSelective(SeedTaskSite persitTaskSite);

	SeedTaskSite selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(SeedTaskSite record);

	int updateByPrimaryKey(SeedTaskSite record);

	SeedTaskSite selectBySourceAndTaskId(@Param("source") String source,
			@Param("taskId") String taskId);

	List<SeedTaskSite> selectUnCompleteBySourceAndTaskId(
			@Param("source") String source, @Param("taskId") String taskId);

	String selectCategoryIdByPrimaryKey(String taskId);
}